<?php

class api_log{
public function index()
{
$api = strim($GLOBALS['request']['api']);
$act = strim($GLOBALS['request']['api_act']);
$root = array();
$root['return'] = 1;
$root['user_login_status'] = 0;
$id = intval($GLOBALS['request']['id']);
$api_log = array();
$api_log['api'] = $api;
$api_log['act'] = $act;
$GLOBALS['db']->autoExecute(DB_PREFIX.'api_log',$api_log,'INSERT');
output($root);
}
}

?>